package com.friends.utils.validate.controller.request;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

/**
 * @author Zhao Tianhao
 * @version 2024/04/09 11:30
 **/
@Data
public class ValidTestRequest {
    @NotBlank(message = "名称不能为空")
    private String name;
    @Email(message = "请输入正确的的邮箱")
    @NotBlank(message = "邮箱不能为空")
    private String mail;
}